package com.wshare.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.wshare.service.interfaces.IMailService;

@Controller
public class MailController {
	@Autowired
	IMailService mailService;
	
	@RequestMapping("/sendmail")
	@ResponseBody
	public void testsendmail(){
		mailService.sendMailHTML("danh.mai@axonactive.vn","hi Mai Hữu Danh","utf 8 nội dung");
	}
}
